<template>
  <div id="itliuyang">
    <Nuxt />
  </div>
</template>
<script>
export default {
  mounted() {
    window.addEventListener(
      "error",
      (event) => {
        if (!(event instanceof ErrorEvent)) {
          console.log(event);
          // todo
        }
      },
      true
    );
    // setInterval(function () {
    //   check();
    // }, 1000);
    // var check = function () {
    //   function doCheck(a) {
    //     if (("" + a / a)["length"] !== 1 || a % 20 === 0) {
    //       (
    // 		function () {}
    // 	  	["constructor"]("debugger")()
    // 	  );
    //     } else {
    //       (function () {}["constructor"]("debugger")());
    //     }
    //     doCheck(++a);
    //   }
    //   try {
    //     doCheck(0);
    //   } catch (err) {}
    // };
    // check();
  },
};
</script>
<style>
html {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  word-spacing: 1px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

/* 通用样式 */
.container {
  min-height: 100vh;
}
.main {
  padding-top: 84px;
  padding-bottom: 20px;
}
.warpper {
  width: 1200px;
  margin: 0 auto;
}
.bgWhite {
  background-color: #fff;
  border-radius: 5px;
}

/* **超出以省略号代替**/
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.Line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.Line2 {
  overflow: hidden;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  -ms-line-clamp: 2;
  -o-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  -o-box-orient: vertical;
  box-orient: vertical;
  display: -webkit-box;
  display: -moz-box;
  word-break: break-all;
}

.Line3 {
  overflow: hidden;
  -webkit-line-clamp: 3;
  -moz-line-clamp: 3;
  -ms-line-clamp: 3;
  -o-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  -o-box-orient: vertical;
  box-orient: vertical;
  display: -webkit-box;
  display: -moz-box;
  word-break: break-all;
}

.Line4 {
  overflow: hidden;
  -webkit-line-clamp: 4;
  -moz-line-clamp: 4;
  -ms-line-clamp: 4;
  -o-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  -o-box-orient: vertical;
  box-orient: vertical;
  display: -webkit-box;
  word-break: break-all;
}

/* 覆盖ant样式 */
.ant-layout-sider {
  background: transparent;
}
/* 侧栏间距 */
.slider-card {
  margin: 10px 0;
  padding: 0 10px;
}
.slider-card:first-child {
  margin: 0;
}

body {
  background: #f7f8fb;
}
</style>
